﻿using System;
using System.Runtime.InteropServices;

namespace BGN.ActiveX.SInfo
{
    /// <summary>
    /// ActiveX 插件的主体 方法接口（从1开始）；此接口是定义ActiveX的接口方法的
    /// [Guid("A0B76B4B-9C68-4523-B811-861C217BDB44")]
    /// </summary>
    [Guid("A0B76B4B-9C68-4523-B811-861C217BDB44"), ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsDual)]
    public interface ISisenMESS_Msg
    {
        [DispId(1)]
        void ConnectServer(String ip, Int32 connectPort, Int32 msgPort);

        [DispId(2)]
        void Test();

        [DispId(3)]
        void TestEvent(String inputValue);
    }
}
